package me.firstapp.service.bbs;

import java.util.Date;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.bbs.MemberPointAccountTrace;

public interface MemberPointAccountTraceService {

	/**
	 * 分页查询用户积分流水
	 * 
	 * @param pageNo
	 * @param pageSize
	 * @param memberId
	 * @param apiClientId
	 * @return
	 */
	Page<MemberPointAccountTrace> findMemberPointAccountTracePage(Integer pageNo, Integer pageSize, Long memberId,
			Long apiClientId);

	/**
	 * 分页查询用户积分流水
	 * 
	 * @param memberId
	 * @param pageNo
	 * @param pageSize
	 * @param searchParams
	 * @param sortParam
	 * @param sortType
	 * @param startTime
	 * @param endTime
	 * @param apiClientId
	 * @return
	 */
	Page<MemberPointAccountTrace> findPointAccountTracePageByParams(Long memberId, Integer pageNo, Integer pageSize,
			Map<String, Object> searchParams, String sortParam, String sortType, Date startTime, Date endTime,
			Long apiClientId);
}
